package main

import (
	"Log/mylogger"
	"time"
)

func main() {
	log := mylogger.Newlog("Info")
	for  {
		log.Error("this is Error log")
		log.Debug("this is Debug log")
		log.Fatal("this is Fatal log")
		log.Info("this is Info log")
		log.Warning("this is Warning log")
		time.Sleep(time.Second*2)
	}

}
